public class print {
	public static void main(String[] args) {
		Speed el1 = new Car("Mers",200);
		Speed el2 = new Bus("Ford",150);
		Speed el3 = new SportCar("Lamborghini",300);
		prin(el1);
		prin(el2);
		prin(el3);
		
	}	
	public static void prin(Speed c){
		System.out.println("Марка:"+ c.getMark() + " / Максимальная скорость: "+ c.getMaxSpeed());
	}
}